﻿using System.Drawing;
using RRRSRoguelike.Enums;

namespace RRRSRoguelike.Entities.Props
{
	/// <summary>
	/// Steps are the linking object between different dungeon levels
	/// Inherits <c>Tile</c>.
	/// </summary>
	public class Stairwell : Tile
	{
		public StepDirection StepDirection { get; set; }

		public Stairwell(Point position, StepDirection upOrDown)
			: base(Constants.StepsImage, Constants.StepUpColor, position)
		{
			Description = "StairWell";
			StepDirection = upOrDown;
			Color = StepDirection == StepDirection.Up ? Constants.StepUpColor : Constants.StepDownColor;
		}
	}
}
